(in-package :spring)

(defbean "bean1.1" "java.lang.String" :constructor-args ("${foo.bar}"))

(defbean "bean1.2" "java.lang.String" :constructor-args ("${baz.quux}"))

(defbean "bean1.3" "java.lang.String" :constructor-args ("${file.separator}"))

(defbean "bean2.1" "java.lang.String" :constructor-args (${foo.bar}))

(if ${undefinedProperty}
    (defbean "bean2.3" "java.lang.String" :constructor-args ("wrong!"))
    (defbean "bean2.2" "java.lang.String" :constructor-args (${baz.quux})))

(defbean "bean2.3" "java.lang.String" :constructor-args (${file.separator}))

